package org.darcy.framework.constant;

/**
 * 系统常量
 **/
public interface SysConstant {

	/**
	 * 表单类型，工作任务使用
	 **/
	interface FormType {
		public static final String BusinessClient = "BusinessClient";
		public static final String BusinessContract = "BusinessContract";// 1. 合同登记
		public static final String ContractConfirm = "ContractConfirm";// 2.1 合同确认
		public static final String FinancialReceived = "FinancialReceived";// 2.2 合同收款
		public static final String FinancialBill = "FinancialBill";// 申请开票
		public static final String CheckReason = "CheckReason"; // 检测依据
		public static final String CheckPlan = "CheckPlan"; // 采样计划

		// 委托检测
		public static final String CheckDelivery = "CheckDelivery"; // 0.派工单
		public static final String CheckCaiYang = "CheckCaiYang"; // 1.采样
		public static final String CheckCaiYangDept = "CheckCaiYangDept"; // 1.采样（综合办公室）
		public static final String CheckShouYang = "CheckShouYang"; // 2.收样
		public static final String LibDispatch = "LibDispatch"; // 3.实验派工
		public static final String LibAnalysis = "LibAnalysis"; // 4.实验分析
		public static final String LibReport = "LibReport"; // 5.实验报告
		public static final String HandOver = "HandOver"; // 6.交付（综合办公室）
		public static final String CloseDept = "CloseDept"; // 7.结算（综合办公室）
		public static final String CloseFinancial = "CloseFinancial"; // 8.结算（财务科）
		public static final String Archive = "Archive"; // 9.归档

		// 职业卫生
		public static final String CheckChangDiao1 = "CheckChangDiao1"; // 场调（职业卫生）
		public static final String CheckChangDiao2 = "CheckChangDiao2"; // 场调（验收）
		public static final String CheckReport = "CheckReport"; // 报告编制
		public static final String ShowPublic = "ShowPublic"; // 公示

		// 安全托管、环保管家
		public static final String CheckService = "CheckService"; // 现场服务

		// 通用
		public static final String LeaveCompany = "LeaveCompany"; // 离职交接

	}

	/**
	 * 审批状态，0：草稿；9：已抄送；10：审批中；20：已拒绝；30：已撤销；100：已通过；")
	 **/
	interface FlowStatus {
		public static final int STATUS0_DRAFT = 0;
		public static final int STATUS9_CC = 9;
		public static final int STATUS10_APPROVING = 10;
		public static final int STATUS20_REJECT = 20;
		public static final int STATUS30_CANCEL = 30;
		public static final int STATUS100_APPROVED = 100;
	}

	/**
	 * 任务状态，0：待处理；1：已处理；9：抄送；
	 **/
	interface TaskStatus {
		public static final int STATUS0_TODO = 0;
		public static final int STATUS1_DONE = 1;
		public static final int STATUS9_CC = 9;
	}
	

	/**
	 * 项目状态，0：进行中；1：已完成；-1：已终止；
	 **/
	interface ProjectStatus {
		public static final int STATUS_DOGING = 0;
		public static final int STATUS_DONE = 1;
		public static final int STATUS_SOTPED = 9;
	}

	/**
	 * 删除标志0：已删除
	 **/
	public static final int DEL_FLAG_0 = 0;
	/**
	 * 删除标志1：未删除
	 **/
	public static final int DEL_FLAG_1 = 1;

	/**
	 * 自定义属性名
	 */
	public static final String IS_EDITDATA = "iseditdata";
	public static final String NODE_TYPE = "nodetype";
	public static final String ASSIGNEE_TYPE = "assigneeType";

	/**
	 * 提交人节点名称
	 */
	public static final String FLOW_SUBMITTER = "提交人";
	/**
	 * 提交人的变量名称 用于驳回
	 */
	public static final String FLOW_SUBMITTER_VAR = "initiator";
	// 发起人的工号
	public static final String FLOW_STARTER_CODE_VAR = "starterCode";
	/**
	 * juel表达式解析类
	 */
	public static final String FLOW_JUEL = "fuel";
	/**
	 * 自动跳过节点设置属性
	 */
	public static final String FLOWABLE_SKIP_EXPRESSION_ENABLED = "_FLOWABLE_SKIP_EXPRESSION_ENABLED";

	// MD5加盐
	public static final String MD5_PREFIX = "dragon-flow-lwj-xie-2021";
	// sessionid的名称
	public static final String DRAGON_SESSION_ID = "DRAGON_SESSION_ID";

	// 设置到header中标记是前台还是后台
	public static final String FRONT_OR_BACK = "front_or_back";

	// 登录用户的session中的key值
	public static final String LOGIN_USER = "LOGIN_USER";
	public static final String LOGIN_ROLE_LIST = "LOGIN_ROLE_LIST";
	// 登录用户的菜单列表
	public static final String LOGIN_MENU_LIST = "LOGIN_MENU_LIST";



}
